

using System;
using System.Runtime.Serialization;

namespace PolePosition.v3.EntityLibrary
{
	// Class-level comments are in UtilityAssetXMissionStructuresPoleEntity.cs
    /// <summary>
    /// 
    /// </summary>
	/// <remarks>Initial Generation Date: Thursday, March 05, 2009</remarks>
	public sealed partial class UtilityAssetXMissionStructuresPoleEntity
	{
		
	#region " Collections "

	// FK_tb_Utility_Asset_XMissionStructure_Poles_CrossRemedy_Vendor_InspectionVisit_tb_Utility_Asset_XMissionStructures_Poles : False
	// FK_tb_Vendor_InspVisit_XmissionStructures_Poles_tb_Utility_Asset_XMissionStructures_Poles : False
	// FK_tb_Vendor_Visit_XMissionStructures_Poles_tb_Utility_Asset_XMissionStructures_Poles : False
	// FK_Utility_Asset_XMissionStructureId_tb_Utility_Asset_XMissionStructures : False
	// FK_tb_Utility_Asset_XMissionStructures_Poles_tb_XMissionStructures_PoleTopTypes : False
	// FK_tb_Utility_Asset_XMissionStructures_Images_tb_Utility_Asset_XMissionStructures_Poles : True
	// FK_tb_Utility_Asset_XMissionStructures_Poles_tb_XMissionStructures_PoleClasses : False
	// FK_tb_Utility_Asset_XMissionStructures_Poles_tb_XMissionStructures_PoleSpecies : False
	// FK_tb_Utility_Asset_XMissionStructures_Poles_tb_XMissionStructures_PoleTreatments : False

	#region Collection Property: UtilityAssetXMissionStructuresImageCollection
	
		/// <summary>
		/// Stores a collection of UtilityAssetXMissionStructuresImage Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.UtilityAssetXMissionStructuresImageEntity> prop_UtilityAssetXMissionStructuresImageCollection;
		
		/// <summary>
        /// Gets or Sets the collection of UtilityAssetXMissionStructuresImage Entities associated with this UtilityAssetXMissionStructuresPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the UtilityAssetXMissionStructuresImages table
		/// that are associated with the row in the UtilityAssetXMissionStructuresPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Utility_Asset_XMissionStructures_Poles.Utility_Asset_XMissionStructures_PoleId) to
		/// many (tb_Utility_Asset_XMissionStructures_Images.Utility_Asset_XMissionStructures_PoleFK)", where:</para><para>
		/// PrimaryTable = tb_Utility_Asset_XMissionStructures_Poles<para></para>
		/// PrimaryTableKey = Utility_Asset_XMissionStructures_PoleId<para></para>
		/// ForeignTable = tb_Utility_Asset_XMissionStructures_Images<para></para>
		/// ForeignTableKey = Utility_Asset_XMissionStructures_PoleFK</para>
		/// <para>The Entities are used to obtain additional or supporting information about UtilityAssetXMissionStructuresPoleEntity.
		/// Since the Entities can be of any type, this gives the UtilityAssetXMissionStructuresPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.UtilityAssetXMissionStructuresImageEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.UtilityAssetXMissionStructuresImageEntity>   UtilityAssetXMissionStructuresImageCollection
		{
			get {return prop_UtilityAssetXMissionStructuresImageCollection;}
			set {prop_UtilityAssetXMissionStructuresImageCollection = value;}
		}

	#endregion
	
	#endregion

	}
}
